package com.graden.background.service.systoken;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graden.background.repository.systoken.entity.SysToken;

/**
 * <p>
 * token 服务实现类
 * </p>
 *
 * @author
 * @since 2019-03-25
 */
public interface ISysTokenService extends IService<SysToken> {

	void save(String token, String bipCode);

	SysToken getOneByBipCode(String bipCode);

	SysToken getOneByToken(String token);

	void tokenRefresh(String token);

}
